package com.fqgj.xjd.user.client;

import com.fqgj.common.api.Response;
import com.fqgj.xjd.user.client.request.UserAadhaarScoreInfo;
import com.fqgj.xjd.user.client.request.UserAdvanceAadhaarVo;
import com.fqgj.xjd.user.client.response.AadhaarBack;
import com.fqgj.xjd.user.client.response.AadhaarFrontBottom;
import com.fqgj.xjd.user.client.response.AadhaarScoreInfo;

/**
 * 用户aadhaar信息服务
 */
public interface UserAadhaarService {


    /**
     * 通过ocr扫描获取aadhaar背面信息
     */
    Response<AadhaarBack> getAadhaarBackOcrByUserCode(String userCode);

    /**
     * 通过ocr扫描获取aadhaar正面底部信息
     */
    Response<AadhaarFrontBottom> getAadhaarFrontBottomOcrByUserCode(String userCode);

    /**
     * 移除ocr扫描aadhaar背面信息
     */
    Response removeAadhaarBackOcrInfo(String userCode);

    /**
     * 移除ocr扫描aadhaar正面底部信息
     */
    Response removeAadhaarFrontBottomOcrInfo(String userCode);

    /**
     * 存储用户AadhaarScore和报告
     *
     * @param userAadhaarScoreInfo
     * @return
     */
    Response saveAadhaarScoreInfo(UserAadhaarScoreInfo userAadhaarScoreInfo);


    Response<AadhaarScoreInfo> getAadhaarScoreByUserCode(String userCode);

    Response<UserAdvanceAadhaarVo> addUserAdvanceAadhaar(UserAdvanceAadhaarVo userAdvanceAadhaarVo);

    Response<UserAdvanceAadhaarVo> getUserAdvanceAadhaar(String userCode);
}
